package zjl.graph;

import java.util.List;
import java.util.Set;

public interface BaseGraph {
    public Set<BaseVertex> getAdjacentVertices(BaseVertex vertex);

    public Set<BaseVertex> getPrecedentVertices(BaseVertex vertex);

    public List<BaseVertex> getVertexList();

    public List<BaseEdge> getEdgeList();

    public double getEdgeWeight(BaseVertex source, BaseVertex sink);

    public BaseEdge getEdgeInstance(BaseVertex source, BaseVertex sink);
}
